<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<title><include file="./Application/Home/View/Common/title_prefix_text.html"/>话题详情</title>
    <include file="./Application/Home/View/Common/head_meta.html"/>
    <link rel="stylesheet" href="__RESPATH__/css/individual/topic.css"/>  
</head>
<body>
	<div class="wrap">
        <!-- 页面头部 -->
        <include file="./Application/Home/View/Common/backup/header_nav.html"/>
        <input type="hidden" value="{$_GET['cd']}" data-category="{$_GET['category']}" data-s="{$_GET['s']}" class="art_cd">
        <!-- 页面主体 -->
        <div class="main topic_details">
        	<h4>
        		<button type="button" class="btn btn-default">        		
	    			<if condition="$data['topic_info']['source'] eq 'top.baidu.com'">
	    				<span class="iconfont icon-baidu"></span>百度
	    			<elseif condition="$data['topic_info']['source'] eq 'd.weibo.com'"/>
	    				<span class="iconfont icon-iconfontweibo"></span>新浪微博
	    			<elseif condition="$data['topic_info']['source'] eq 'top.sogou.com'"/>
	    				<span class="iconfont icon-sougou red"></span>搜狗热搜榜
	    			<elseif condition="$data['topic_info']['source'] eq 'top.so.com'"/>
	    				<span class="iconfont icon-icon-test"></span>360热搜榜
	    			</if>
        		</button>
        		<strong class="title">#{$data['topic_info']['title']}#</strong>
        	</h4>
        	<div class="td_cnt diagram_info">
        		<div class="td_cnt_h">关键指标详解</div>
				<div class="deploy_info"></div>
        	</div>
        	<div class="td_cnt">
        		<div class="td_cnt_h">相关文章<a href="{:U('/search/articles?search_key='.$data['topic_info']['title'])}" class="pull-right more_btn">更多</a></div>
				<table>
					<thead>
						<tr>
							<th width="55%"></th>
							<th width="35%"></th>
							<th width="10%"></th>
						</tr>
					</thead>
					<tbody class="td_cnt_ar_lst">
					<if condition="count($data['articles']) gt 0">
					<foreach name="data.articles" item="list">
					    <tr>
					    	<td>
					    		<p class="tb_tle">
					    			<a href="{:U('/article/index?p='.$list['cd'])}" target="_blank">{$list.title}</a>
					    		</p>
					    	</td>
					    	<td>
					    		<p class="tb_pam">
						    		<if condition="$list.biz != ''">
					    			<a href="{:U('/profile/index?biz='.$list['biz'].'&platform='.$list['source'])}" target="_blank" class="acount_info">
					    			<else/>
					    			<a href="javascript:void(0);" style="cursor: default;">
						    		</if>
					    			<if condition="$list['source'] eq 'bigwe.com'">
					    				<span class="iconfont icon-iconbigwe"></span>
					    			<elseif condition="$list['source'] eq 'toutiao.com'"/>
					    				<span class="iconfont icon-icontoutiao"></span>
					    			<elseif condition="$list['source'] eq 'mp.weixin.qq.com'"/>
					    				<span class="iconfont icon-weixin"></span>
					    			<elseif condition="$list['source'] eq 'news.163.com'"/>
					    				<span class="iconfont icon-wangyi"></span>
					    			<elseif condition="$list['source'] eq 'news.sina.com.cn'"/>
					    				<span class="iconfont icon-xinlang"></span>
					    			<elseif condition="$list['source'] eq 'ifeng.com'"/>
					    				<span class="iconfont icon-ifeng"></span>
					    			</if>{$list.publisher}</a>
					    		</p>
					    	</td>
					    	<td>
					    		<p class="tb_time">{$list.publish_time}</p>
					    	</td>
					    </tr>
					</foreach>
					<else/>
					<tr>
						<td colspan="3">
							<p class="no_content"><span class="glyphicon glyphicon-flash"></span>暂无内容</p>
						</td>
					</tr>
					</if>
					</tbody>
				</table>
        	</div>
        </div>
        <!-- 页面尾部 -->
        <include file="./Application/Home/View/Common/footer.html" />
    </div>
    <script src="__RESPATH__/js/libs/require.js" data-main="__RESPATH__/js/topic_detailsController"></script>
</body>
</html>